<template>
	<view class="page">
		<view v-html="code"></view>
	</view>
</template>

<script>
	import {getRescueFlow} from '../../../network/study.js'
	export default {
		data() {
			return {
				code: ''
			}
		},
		onLoad() {
			this.init()
		},
		onPullDownRefresh() {
			this.init()
		},
		methods: {
			async init() {
				const result = await getRescueFlow();
				console.log(result)
				this.code = result.data[0].txt
			}
		}
	}
</script>

<style lang="scss" scoped>
.page {
	background-color: white;
	view {
			padding: 5px 10px;
	}
}
</style>
